Complete step-by-step guide for installing and configuring BrembyPro Max trading platform on shared hosting.

**Congratulation on getting BremPro!** 🚀📈
## For Support & Resources and  Installation
### Official Support Channels

- **WhatsApp**: https://wa.me/2348114313795
- **Website**: https://developerplug.com/
VERY IMPORTANT NOTICE :PLEASE RIGHT CLICK ON UR .env FILE AND GIVE IT PERMISSON 600 IMMEDITELY AFTER U ENTERED UR DATABASE DETEAILS IN IT, ITS VERY IMPORTANT U DO THIS.
Also make sure u change your admin password , don't use the defult login in production
Installation
Server Requirements:

*. Ensure your PHP version >= 8.1.0

* .Mysql 5.X

Installation guide:

1.1. **Download  zip file 
2. **Using cPanel File Manager :
   - Navigate to `public_html` (or your domain's root folder)
   - Upload all zip files
   - Make sure you enable "Show Hidden Files" in your cPanel settings
   
   
   Database Configuration

### Step 1: Create Database in cPanel

1. Log into **cPanel**
2. Go to **MySQL Databases**
3. Create a new database:
   - Database Name: `your_database_name`
   - Click **Create Database**

4. Create a database user:
   - Username: `your_db_username`
   - Password: `strong_password_here`
   - Click **Create User**

5. Add user to database:
   - Select the user and database
   - Grant **ALL PRIVILEGES**
   - Click **Add**

### Step 2: Import Database

1. Go to **phpMyAdmin** in cPanel
2. Select your newly created database
3. Click **Import** tab
4. Choose file: `database/brembypro.sql` (or similar)
5. Click **Go** to import



## Edit `.env` File

Using cPanel File Manager or FTP, edit the `.env` file in root directory:

```env
APP_NAME="BrembyPro Max"
APP_ENV=production

APP_KEY=base64:YOUR_APP_KEY_HERE
APP_DEBUG=false
APP_URL=https://yourdomain.com
# Cron Job Security Token (CHANGE THIS to a random string in production!)
CRON_SECRET=45678

# Database Configuration
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_db_username
DB_PASSWORD=your_db_password

// Set up email smtp in .env file
MAIL_MAILER=smtp
MAIL_HOST=mail.domain.com
MAIL_PORT=465
MAIL_USERNAME=support@domain.com
MAIL_PASSWORD=""
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS="support@domain.com"
MAIL_FROM_NAME="${APP_NAME}"


**Installation**:

 Default Admin Login

- **URL**: https://yourdomain.com/login
- **Email**: admin@admin.com
- **Password**: 12345678


if u login to admin go to about script u will see the list of the all the features and how to use it all.

###How to add livechat 
add livechat to resources/views/layouts/user/app.blade.php
for frontend  add it to  resources/views/layouts/welcome.blade.php


###Cron job
For prices to update regularly you must run cron job (Very very important!!!!)
the cron job command is (every 5mins ) 
curl "https://yoururl/cron/run?token=63527"




# How to Add Cryptocurrency to Your Platform
## A Simple Guide for Administrators

This guide will help you add new cryptocurrencies (like Bitcoin, Ethereum, or USDT) to your platform so users can deposit, withdraw, and trade them.

---

## Getting Started

### Step 1: Access the Cryptocurrency Management Page

1. Log in to your **Admin Panel**
2. Look for **"Cryptocurrencies"** in the left menu
3. Click on it to see your list of current cryptocurrencies
4. Click the blue **"Add Cryptocurrency"** button in the top-right corner

---

## Filling Out the Form

You'll see a form with several fields. Here's what each one means and what to enter:

### 📝 Basic Information

#### **Symbol** ⭐ (Required)
This is the short code for the cryptocurrency.
- **Always use lowercase letters**
- If it's on a specific network, add an underscore and the network name

**Examples:**
- Bitcoin: `btc`
- Ethereum: `eth`
- USDT on TRON network: `usdt_trc20`
- USDT on Ethereum network: `usdt_erc20`

> ⚠️ **Important:** Must be lowercase with underscore (not dash or space)

---

#### **Name** ⭐ (Required)
The name users will see on the platform.

**Examples:**
- `Bitcoin`
- `Ethereum`
- `USDT`

---

#### **Full Name** (Optional)
A longer, more descriptive name if you want.

**Examples:**
- `Bitcoin (BTC)`
- `Tether USD (TRC20)`

---

#### **Network** ⭐ (Required)
Select which blockchain network this cryptocurrency uses:

- **Native** - For main coins like Bitcoin or Ethereum
- **ERC20** - For tokens on Ethereum network
- **TRC20** - For tokens on TRON network
- **BNB** - For tokens on Binance Smart Chain
- **SOL** - For tokens on Solana network
- **MATIC** - For tokens on Polygon network

> 💡 **Tip:** If you're adding USDT on TRON, select "TRC20". If it's on Ethereum, select "ERC20".

---

### 🎨 Appearance Settings

#### **Color** ⭐ (Required)
Choose a color that will represent this cryptocurrency on your platform.

**Common choices:**
- 🟠 **Orange** - Often used for Bitcoin
- 🔵 **Blue** - Often used for Ethereum
- 🟢 **Green** - Often used for USDT and stablecoins
- 🟡 **Yellow** - Often used for Binance Coin
- 🔴 **Red**, 🩷 **Pink**, 🔷 **Indigo**, ⚪ **Gray** - Other options

---

#### **Icon/Logo**
You have two options to add the cryptocurrency's logo:

**Option A: Upload from Computer**
1. Click "Upload File" button
2. Choose an image from your computer
3. Best format: Square image (like 128x128 pixels), PNG format

**Option B: Use a Web Link**
1. Click "Use URL" button
2. Paste the full web address of the image
3. Example: `https://cryptologos.cc/logos/bitcoin-btc-logo.png`

> 💡 **Where to find icons:** Search "cryptocurrency logos" or visit CoinGecko.com for icon URLs

---

### 💰 Fee Settings

#### **Withdrawal Fee (%)** ⭐ (Required)
The fee you'll charge when users withdraw this cryptocurrency.

- Enter as a percentage (e.g., type `1` for 1%)
- Common range: 0.5% to 2%
- Check other platforms to see competitive rates

**Example:** If you enter `1.5`, users pay a 1.5% fee when withdrawing

---

#### **Swap Fee (%)** ⭐ (Required)
The fee charged when users exchange this cryptocurrency for another.

- Also entered as a percentage
- Usually 0.1% to 1%

**Example:** If you enter `0.5`, users pay 0.5% when swapping this crypto for another

---

### 📊 Display Settings

#### **Display Order** ⭐ (Required)
Controls where this cryptocurrency appears in lists.

- **Lower numbers appear first**
- Usually start with 1, 2, 3, etc.
- Bitcoin is often 1, Ethereum is 2, and so on

**Example:** 
- Bitcoin: `1` (shows first)
- Ethereum: `2` (shows second)
- USDT: `3` (shows third)

---

### 🔄 Price Updates (Optional)

#### **API Price ID**
This makes prices update automatically. Leave blank if you want to set prices manually.

To fill this in:
1. Go to **CoinGecko.com**
2. Search for your cryptocurrency
3. Look at the URL - the price ID is at the end
   - Example: `coingecko.com/en/coins/bitcoin` → use `bitcoin`
   - Example: `coingecko.com/en/coins/tether` → use `tether`

---

### ✅ Activation

#### **Active Checkbox**
- ✅ **Checked** = Users can see and use this cryptocurrency immediately
- ⬜ **Unchecked** = Hidden from users (good for testing setup first)

> 💡 **Tip:** You can uncheck this while setting everything up, then enable it later when ready!

---

## Step 2: Save Your Cryptocurrency

Click the blue **"Create Cryptocurrency"** button at the bottom of the form.

If everything is filled correctly, you'll see a success message!

---

## Step 3: Add Your Wallet Address (IMPORTANT!)

After adding the cryptocurrency, you need to tell the system where to receive user deposits:

1. Go to **Settings** in your admin menu
2. Look for **"Crypto Settings"** or similar section
3. Add a new setting with your wallet address

**Format to use:**
- **Setting Name:** `[symbol]_address`
- **Value:** Your actual wallet address

**Examples:**
- For Bitcoin: Create setting `btc_address` with your Bitcoin wallet
- For USDT on TRON: Create setting `usdt_trc20_address` with your TRC20 wallet

> ⚠️ **Critical:** Without this, users can't deposit! Double-check the wallet address is correct.

---

## What Happens Next?

Once you save and activate the cryptocurrency:

✅ New users will automatically see it in their wallets
✅ It appears on the deposits page
✅ It shows up in the withdrawal page
✅ Users can swap between this and other cryptocurrencies
✅ Prices will update automatically (if you added the Price ID)

### For Existing Users
Users who already have accounts might need to refresh their page or log out and back in to see the new cryptocurrency.

---

## Complete Example: Adding USDT on TRON Network

Here's a filled-out example:

| Field | What to Enter |
|-------|---------------|
| **Symbol** | `usdt_trc20` |
| **Name** | `USDT` |
| **Full Name** | `Tether USD (TRC20)` |
| **Network** | Select "TRC20" from dropdown |
| **Color** | Select "Green" |
| **Withdrawal Fee** | `1` (means 1%) |
| **Swap Fee** | `0.5` (means 0.5%) |
| **Display Order** | `3` |
| **Price ID** | `tether` |
| **Icon** | Upload USDT logo or use URL |
| **Active** | ✅ Checked |

After saving:
- Go to **Settings**
- Add `usdt_trc20_address` with your TRON wallet address (starts with T)

---

## Managing Your Cryptocurrencies

### To Edit an Existing Cryptocurrency
1. Go to the Cryptocurrencies list
2. Find the one you want to change
3. Click the **"Edit"** button
4. Make your changes
5. Click **"Update Cryptocurrency"**

### To Turn On/Off Quickly
There's usually a toggle switch next to each cryptocurrency - click it to instantly enable or disable without opening the edit form.

### To Change Display Order
You can usually drag and drop cryptocurrencies to reorder them, or edit the "Display Order" number.

### To Delete
Click the delete button, but **be careful** - this removes it for all users. It's better to just turn it off (uncheck Active) if you're not sure.

---

## Troubleshooting Common Issues

### ❓ "I added a cryptocurrency but users don't see it"
- Make sure the **Active** checkbox is checked
- Ask users to log out and log back in
- Check that you didn't set Display Order too high

### ❓ "The logo/icon isn't showing"
- If uploaded: Make sure the image uploaded successfully
- If using URL: Make sure the link works (paste it in a browser to test)
- Try using a PNG image instead of other formats

### ❓ "Prices aren't updating"
- Double-check the Price ID matches exactly what's on CoinGecko
- It's case-sensitive, so `bitcoin` works but `Bitcoin` doesn't
- Price updates might take a few minutes

### ❓ "Users can't deposit"
- Make sure you added the wallet address in Settings
- Check the setting name matches the symbol exactly
- Verify the wallet address is correct (send a test transaction to yourself first!)

---

## Important Safety Tips

🔒 **Keep Your Wallet Secure**
- Never share your private keys
- Only add wallet addresses you control
- Test with small amounts first

✅ **Before Enabling**
- Double-check all fees are correct
- Verify your wallet address works
- Test a deposit yourself first

👥 **User Communication**
- Announce new cryptocurrencies to your users
- Explain any fees clearly
- Provide support for questions

---

## Need Help?

If you get stuck:
1. Check this guide again - maybe you missed a step
2. Try adding a test cryptocurrency first (keep it inactive)
3. Contact your technical support team
4. Verify everything on a test environment before going live

---

**Remember:** It's okay to add a cryptocurrency with **Active unchecked** while you're learning. This lets you practice without affecting users!



**⚠️ IMPORTANT**: Change admin password immediately after first login!

### 3. Essential Admin Settings

After logging in as admin:

1. **General Settings** → Update:
   - Site Name
   - Site Email
   - Currency
   - Timezone
**Email Settings** → Test:
   - Send test email to verify SMTP works

Final Steps & Testing

### 1. Clear All Caches
 via URL (if enabled):
```
https://yourdomain.com/clear-cache

## Congratulations!

Your BremPro Max trading platform is now set up and ready to use! 

Remember to:
- Change all default passwords
- Configure your preferred payment gateways
- Set up your trading APIs
- Test all features before going live
- Keep regular backups

For additional help, join our support channels listed below.

**Happy Trading!** 🚀📈
## For Support & Resources and  Installation
### Official Support Channels

- **WhatsApp**: https://wa.me/2348114313795
- **Website**: https://developerplug.com/



